import React from 'react'

import Title from '../components/Title'

class Index extends React.Component {
    render() {
        return (
            <div>
                <Title title='编辑地址' />

                <div className='form'>
                    <div className='field'>
                        <div className='field-key' >收货人</div>
                        <input className='field-value' value='' placeholder='姓名' />
                    </div>
                    <div className='field'>
                        <div className='field-key' >手机号码</div>
                        <input className='field-value' value='' placeholder='11手机号码' />
                    </div>
                    <div className='field'>
                        <div className='field-key' >省/市</div>
                        <input className='field-value' value='' placeholder='省/市' />
                    </div>
                    <div className='field'>
                        <div className='field-key' >详细地址</div>
                        <input className='field-value' value='' placeholder='街道门牌' />
                    </div>
                    <div className='field'>
                        <div className='field-key' >邮编</div>
                        <input className='field-value' value='' placeholder='邮政编码' />
                    </div>
                    <button 
                        className='btn addAddressBtn'
                        onClick={this.goEdit}
                    >
                        新增/修改
                    </button>
                    <button 
                        className='btn addAddressBtn-del'
                        onClick={this.goEdit}
                    >
                        删除地址
                    </button>
                </div>
                

            </div>
        )
    }
}

export default Index
